package com.logos.cartoon.service;

import com.logos.cartoon.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author rose
* @description 针对表【user】的数据库操作Service
* @createDate 2025-05-23 22:34:06
*/
public interface UserService extends IService<User> {

    /**
     * 登录
     * @param username
     * @param password
     * @return
     */
    Boolean login(String username, String password);

    /**
     * 注册
     * @param username
     * @param password
     * @return
     */
    Boolean register(String username,  String password);
}
